package cn.stylefeng.guns.modular.basic.entity;

import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品表
 */
@TableName("basic_goods")
@Data
public class BasicGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    @TableField("goods_customer_id")
    private Integer goodsCustomerId;

    /**
     * 所属客户
     */
    @TableField("goods_customer_name")
    private String goodsCustomerName;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 货号
     */
    @TableField("goods_no")
    private String goodsNo;

    /**
     * 助记码
     */
    @TableField("goods_helpcode")
    private String goodsHelpcode;

    /**
     * 单位
     */
    @TableField("goods_unit")
    private String goodsUnit;

    /**
     * 重泡货
     */
    @TableField("goods_heavybubble")
    private String goodsHeavybubble;

    /**
     * 包装
     */
    @TableField("goods_packing")
    private String goodsPacking;

    /**
     * 商品大类
     */
    @TableField("goods_bigtype")
    private String goodsBigtype;

    /**
     * 小类
     */
    @TableField("goods_smalltype")
    private String goodsSmalltype;

    /**
     * 商品类别
     */
    @TableField("goods_type")
    private String goodsType;

    /**
     * 保管条件
     */
    @TableField("goods_condition")
    private String goodsCondition;

    /**
     * 大包单位
     */
    @TableField("goods_baleunit")
    private String goodsBaleunit;

    /**
     * 大包规格
     */
    @TableField("goods_balespecs")
    private String goodsBalespecs;

    /**
     * 重量
     */
    @TableField("goods_weight")
    private String goodsWeight;

    /**
     * 重量单位
     */
    @TableField("goods_weightunit")
    private String goodsWeightunit;

    /**
     * 底
     */
    @TableField("goods_bottom")
    private String goodsBottom;

    /**
     * 叠层
     */
    @TableField("goods_lamination")
    private String goodsLamination;

    /**
     * 托层
     */
    @TableField("goods_traylayer")
    private String goodsTraylayer;

    /**
     * 体积（M3）
     */
    @TableField("goods_volume")
    private String goodsVolume;

    /**
     * 计费指定价
     */
    @TableField("goods_charging")
    private String goodsCharging;

    /**
     * 入库参考价
     */
    @TableField("goods_enterreference")
    private String goodsEnterreference;

    /**
     * 出库参考价
     */
    @TableField("goods_outreference")
    private String goodsOutreference;

    /**
     * 内箱条码
     */
    @TableField("goods_innercode")
    private String goodsInnercode;

    /**
     * 是否扫码
     */
    @TableField("goods_whethercode")
    private String goodsWhethercode;

    /**
     * 规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 品牌
     */
    @TableField("goods_brand")
    private String goodsBrand;

    /**
     * 产地
     */
    @TableField("goods_placeoforigin")
    private String goodsPlaceoforigin;

    /**
     * 生产厂家
     */
    @TableField("goods_manufactor")
    private String goodsManufactor;

    /**
     * 库存下线
     */
    @TableField("goods_minimumstock")
    private String goodsMinimumstock;

    /**
     * 库存上线
     */
    @TableField("goods_stocklimit")
    private String goodsStocklimit;

    /**
     * 保质期
     */
    @TableField("goods_warranty")
    private String goodsWarranty;

    /**
     * 保质周期
     */
    @TableField("goods_warrantycycle")
    private String goodsWarrantycycle;

    /**
     * 滞留期（天）
     */
    @TableField("goods_residencetlme")
    private String goodsResidencetlme;

    /**
     * 每托存量
     */
    @TableField("goods_supportvolume")
    private String goodsSupportvolume;

    /**
     * 频次
     */
    @TableField("goods_univalent")
    private String goodsUnivalent;

    /**
     * 备注
     */
    @TableField("goods_nodes")
    private String goodsNodes;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 长
     */
    @TableField("length")
    private String length;

    /**
     * 高
     */
    @TableField("height")
    private String height;

    /**
     * 宽
     */
    @TableField("width")
    private String width;

    /**
     * 箱规
     */
    @TableField("xianggui")
    private String xianggui;

    @Override
    public String toString() {
        return "BasicGoods{" +
        "id=" + id +
        ", goodsCustomerId=" + goodsCustomerId +
        ", goodsCustomerName=" + goodsCustomerName +
        ", goodsName=" + goodsName +
        ", goodsNumber=" + goodsNumber +
        ", goodsHelpcode=" + goodsHelpcode +
        ", goodsUnit=" + goodsUnit +
        ", goodsHeavybubble=" + goodsHeavybubble +
        ", goodsPacking=" + goodsPacking +
        ", goodsBigtype=" + goodsBigtype +
        ", goodsType=" + goodsType +
        ", goodsCondition=" + goodsCondition +
        ", goodsBaleunit=" + goodsBaleunit +
        ", goodsBalespecs=" + goodsBalespecs +
        ", goodsWeight=" + goodsWeight +
        ", goodsWeightunit=" + goodsWeightunit +
        ", goodsBottom=" + goodsBottom +
        ", goodsLamination=" + goodsLamination +
        ", goodsTraylayer=" + goodsTraylayer +
        ", goodsVolume=" + goodsVolume +
        ", goodsCharging=" + goodsCharging +
        ", goodsEnterreference=" + goodsEnterreference +
        ", goodsOutreference=" + goodsOutreference +
        ", goodsInnercode=" + goodsInnercode +
        ", goodsWhethercode=" + goodsWhethercode +
        ", goodsSpecs=" + goodsSpecs +
        ", goodsBrand=" + goodsBrand +
        ", goodsPlaceoforigin=" + goodsPlaceoforigin +
        ", goodsManufactor=" + goodsManufactor +
        ", goodsMinimumstock=" + goodsMinimumstock +
        ", goodsStocklimit=" + goodsStocklimit +
        ", goodsWarranty=" + goodsWarranty +
        ", goodsWarrantycycle=" + goodsWarrantycycle +
        ", goodsResidencetlme=" + goodsResidencetlme +
        ", goodsSupportvolume=" + goodsSupportvolume +
        ", goodsUnivalent=" + goodsUnivalent +
        ", goodsNodes=" + goodsNodes +
        ", version=" + version +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        "}";
    }
}
